#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>
#include<string.h>
#include"Sup_mng_Goods.h"
//#include"Sup_mng_Staff.h"
//typedef struct Main_list
//{
//	Goodsinfo GoodsInfo;
//	Staffinfo StaffInfo;
//
//}Main_list;
#define  SeqDatatype Goodsinfo

typedef struct Seqlist1 {
	SeqDatatype* a;
	int size;
	int capacity;
}SL;

void Seqinit(SL* ps);

void SeqCheckCapacity(SL* s);

void SeqPushBack(SL* s, SeqDatatype x);

void SeqPushFront(SL* ps, SeqDatatype x);

void SeqPopBack(SL* ps);

void SeqPopFront(SL* ps);

//int SeqFind(SL* ps, SeqDatatype x);

void SeqInsert(SL* ps, int pos, SeqDatatype x);

void SeqErase(SL* ps, int pos);

void SeqDetroy(SL* ps);


